<?php
class Relation extends Object
{
	public $library;
	public $relations;
	
	function __construct($library_name, $relation_options=array())
	{
		$this->library = $library_name;
		
		$this->relations = $relation_options;
	}
}

class HasMany extends Relation
{
	public $ref;
	
	function __construct($library_name, $relation_options=array())
	{
		parent::__construct($library_name, $relation_options);
	}
	
	function __sleep()
	{
		return '';
	}
	
	function __wakeup()
	{
		
	}
	
//	function get_object($this)
//	{
//		
//	}
}

class HasOne extends Relation
{
	function __construct($library_name, $relation_options=array())
	{
		parent::__construct($library_name, $relation_options);
	}
}

class BelongTo extends Relation
{
	function __construct($library_name, $relation_options=array())
	{
		parent::__construct($library_name, $relation_options);
	}
}
?>